home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1996 April
/
Macworld (1996-04).dmg
/
Educational Demos
/
Goldilocks Gamebook
/
Goldilocks.DIR
/
00160_Script_160
< prev
next >
Wrap
Text File
|
1995-11-20
|
529b
|
27 lines
-- apples
on mouseDown
global currentColor,p5
puppetSound "Click.AIF"
puppetSprite 6, true
if currentColor = "red" then
set the castNum of sprite 6 to 51
put 1 into p5
end if
if currentColor = "blu" then
set the castNum of sprite 6 to 52
put 0 into p5
end if
if currentColor = "bro" then
set the castNum of sprite 6 to 53
put 0 into p5
end if
if currentColor = "gre" then
set the castNum of sprite 6 to 54
put 0 into p5
end if
updateStage
end